package com.aiit.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LuTao
 * @Date: 2022/04/29/21:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("oa_post")
/*岗位表*/
public class Post {
    private Integer id;
    private String post;
    //定义用户集合
    @TableField(exist = false)
    private List<User> users;
    private String username;
    private Integer uid;


}
